export const NAME_KEY = 'categoryName'; // 品类名称key
export const ID_KEY = 'categoryUuid'; // 品类id key
export const CODE_KEY = 'categoryNo'; // 品类编码key
export const PATH_KEY = 'categoryPath'; // 品类路径key

// 获取当前品类数据的name值
export const getName = data => data[NAME_KEY]

// 获取当前品类数据的uuid值
export const getId = data => data[ID_KEY]

// 获取当前品类数据的code值
export const getCode = data => data[CODE_KEY]

// 获取当前品类数据的path值
export const getPath = data => data[PATH_KEY]
